﻿<%@ Control Language="vb" AutoEventWireup="false" CodeBehind="ucEditAddress.ascx.vb" Inherits="RWN.ucEditAddress" %>
<asp:Label ID="lblError" runat="server" CssClass="lbl_error" 
	ViewStateMode="Disabled" Visible="False"></asp:Label>
<table bgcolor="#FFFFFF" cellpadding="0" cellspacing="0" class="profile" 
	style="width: 100%">
	
	<tr>
		<td class="pk" colspan="2">
			<strong>ที่อยู่ที่สะดวกในการจัดส่งเอกสาร</strong>
		</td>
		<td colspan="2">
			&nbsp;</td>
	</tr>
	<tr>
		<td bgcolor="#E0E0E0" width="20%">
			เลขที่ :
		</td>
		<td>
					<asp:TextBox ID="OFFICER_MAIL_ADDRESS_NO" runat="server"></asp:TextBox>
					<asp:RequiredFieldValidator ID="RequiredFieldValidator21" runat="server" 
						ControlToValidate="OFFICER_MAIL_ADDRESS_NO" ErrorMessage="กรุณาระบุเลขที่" 
						ValidationGroup="regEdit">*</asp:RequiredFieldValidator>
		</td>
		<td bgcolor="#E0E0E0" width="20%">
			หมู่ :
		</td>
		<td>
					<asp:TextBox ID="OFFICER_MAIL_ADDRESS_MOO" runat="server"></asp:TextBox>
		</td>
	</tr>
	<tr>
		<td bgcolor="#E0E0E0" width="20%">
			หมู่บ้าน/อาคาร :
		</td>
		<td>
					<asp:TextBox ID="OFFICER_MAIL_ADDRESS_BUILDING" runat="server"></asp:TextBox>
		</td>
		<td bgcolor="#E0E0E0" width="20%">
			ซอย :
		</td>
		<td>
					<asp:TextBox ID="OFFICER_MAIL_ADDRESS_SOI" runat="server"></asp:TextBox>
		</td>
	</tr>
	<tr>
		<td bgcolor="#E0E0E0" width="20%">
			ถนน :
		</td>
		<td>
					<asp:TextBox ID="OFFICER_MAIL_ADDRESS_STREET" runat="server"></asp:TextBox>
		</td>
		<td bgcolor="#E0E0E0" width="20%">
			จังหวัด *: 
		</td>
		<td>
			<asp:UpdatePanel ID="UpdatePanel12" runat="server">
				<ContentTemplate>
					<asp:DropDownList ID="OFFICER_MAIL_ADDRESS_PROVINCE" runat="server" 
						AutoPostBack="True">
					</asp:DropDownList>
					<asp:RequiredFieldValidator ID="RequiredFieldValidator13" runat="server" 
						ControlToValidate="OFFICER_MAIL_ADDRESS_PROVINCE" 
						ErrorMessage="กรุณาระบุจังหวัด" ValidationGroup="regEdit">*</asp:RequiredFieldValidator>
				</ContentTemplate>
				<Triggers>
				</Triggers>
			</asp:UpdatePanel>
		</td>
	</tr>
	<tr>
		<td bgcolor="#E0E0E0" width="20%">
			เขต/อำเภอ *:
		</td>
		<td>
			<asp:UpdatePanel ID="UpdatePanel4" runat="server">
				<ContentTemplate>
					<asp:DropDownList ID="OFFICER_MAIL_ADDRESS_DISTRICT" runat="server" 
						AutoPostBack="True">
					</asp:DropDownList>
					<asp:RequiredFieldValidator ID="RequiredFieldValidator14" runat="server" 
						ControlToValidate="OFFICER_MAIL_ADDRESS_DISTRICT" 
						ErrorMessage="กรุณาระบุเขต/อำเภอ" InitialValue="0" ValidationGroup="regEdit">*</asp:RequiredFieldValidator>
				</ContentTemplate>
				<Triggers>
					<asp:AsyncPostBackTrigger ControlID="OFFICER_MAIL_ADDRESS_PROVINCE" 
						EventName="SelectedIndexChanged" />
				</Triggers>
			</asp:UpdatePanel>
		</td>
		<td bgcolor="#E0E0E0" width="20%">
			แขวง/ตำบล *:
		</td>
		<td>
			<asp:UpdatePanel ID="UpdatePanel5" runat="server">
				<ContentTemplate>
					<asp:DropDownList ID="OFFICER_MAIL_ADDRESS_SUB_DISTRICT" runat="server" 
						AutoPostBack="True">
					</asp:DropDownList>
					<asp:RequiredFieldValidator ID="RequiredFieldValidator15" runat="server" 
						ControlToValidate="OFFICER_MAIL_ADDRESS_SUB_DISTRICT" 
						ErrorMessage="กรุณาระบุแขวง/ตำบล" InitialValue="0" ValidationGroup="regEdit">*</asp:RequiredFieldValidator>
				</ContentTemplate>
				<Triggers>
					<asp:AsyncPostBackTrigger ControlID="OFFICER_MAIL_ADDRESS_DISTRICT" 
						EventName="SelectedIndexChanged" />
				</Triggers>
			</asp:UpdatePanel>
		</td>
	</tr>
	<tr>
		<td bgcolor="#E0E0E0" width="20%">
			รหัสไปรษณีย์ *:
		</td>
		<td>
			<asp:UpdatePanel ID="UpdatePanel6" runat="server">
				<ContentTemplate>
					<asp:DropDownList ID="OFFICER_MAIL_ADDRESS_POSTCODE" runat="server" 
						AutoPostBack="True">
					</asp:DropDownList>
					<asp:RequiredFieldValidator ID="RequiredFieldValidator16" runat="server" 
						ControlToValidate="OFFICER_MAIL_ADDRESS_POSTCODE" 
						ErrorMessage="กรุณาระบุรหัสไปรษณีย์" InitialValue="0" ValidationGroup="regEdit">*</asp:RequiredFieldValidator>
				</ContentTemplate>
				<Triggers>
					<asp:AsyncPostBackTrigger ControlID="OFFICER_MAIL_ADDRESS_SUB_DISTRICT" 
						EventName="SelectedIndexChanged" />
				</Triggers>
			</asp:UpdatePanel>
		</td>
		<td>
			&nbsp;
		</td>
		<td>
			&nbsp;
		</td>
	</tr>
	<tr>
		<td bgcolor="#FFFFFF" colspan="4" >
			<asp:ValidationSummary ID="ValidationSummary1" runat="server" 	ValidationGroup="regEdit" />
		</td>
	</tr>
	<tr>
		<td bgcolor="#FFFFFF" colspan="4" style="text-align:center" >
			<asp:Button ID="btnOk" runat="server" Text="แก้ไขข้อมูล" 
				ValidationGroup="regEdit" />
		</td>
	</tr>
	<tr>
		<td bgcolor="#FFFFFF" colspan="4" style="text-align:center" >
			&nbsp;
			</td>
	</tr>
</table>

